Jump to content

- PBXScript

- # PBXScript.IsUserOrGroupBusyEx

  Followers 0

  VBScript Is obsolete since SwyxWare 2011

  This function queries/returns the busy status for a single user or a group.

      If PBXScript.IsUserOrGroupBusyEx ("100") Then
      	' do something
      End If

  This function returns a boolean value.

  With SwyxWare 20211 the Presence Manager within the server service was introduced, which hat all times has a full and correctl view of all states of all users.

  Before that, the server didn't knew about users who locked their line keys in the client (e.g. via a configured wrap-up time) but always considered those users as available/free.

  The PBXScript.IsUserOrGroupBusyEx function simulated a call to the user/group to see how the client/clients would respond to it.

  Since SwyxWare 2011 one should use the PBXConfig.GetUserByAddress function to query the status of a user. The given link exlpains in detail how to do that.

  Parameter

  bstrNumber

  The name or the number (as string) of a user or a user group.

  By Tom Wellige

  - May 16, 2022
  Share
  Share
  Followers 0

## Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.